//原来的代码
//import { createApp } from 'vue'
//import App from './App.vue'

//createApp(App).mount('#app')

import { createApp } from 'vue'
import "./style.css"
import App from "./App.vue"
// 使用import导入单文件组件
import CountCom from './components/CountCom.vue';
const app = createApp(App);
//使用component（）方法注册全局组件
app.component("count-com",CountCom);
app.mount("#app")